#!/dis/sh
(dep files) = $*
dep = $dep^.dep
tmp = $dep.${pid}
apply {
	file = $1
	grep -v $file $dep > $tmp
	mv $tmp $dep
} $files
